Ext.application({
	name:'absolute',
	launch:function(){
		Ext.create('Ext.form.Panel',{
			title:'Absolute 布局',
			width:300,
			height:500,
			x:20,
			y:90,
			layout:'absolute',
			defaultType:'textfield',
		        items: [{ 
		            x: 10,         
		            y: 10,          
		            xtype:'label',         
		            text: 'Send To:'     
		        },{ 
		            x: 80,          
		            y: 10,   
		            //xtype:'label',
		            name: 'to',          
		            anchor:'90%'     
		        },{         
		            x: 10,          
		            y: 40,         
		            xtype:'label',         
		            text: 'Subject:'     
		        },{          
		            x: 80,         
		            y: 40,         
		            name: 'subject',          
		            anchor: '90%' 
		        },{         
		            x:0,          
		            y: 80,         
		            xtype: 'textareafield',         
		            name: 'msg',          
		            anchor: '100% 100%' 
		        }],
		        renderTo:Ext.getBody()

		});
	}
});